/// 网络配置
class NetworkConfig {
  String baseUrl;
  String contentType;
  int connectTimeout;
  int receiveTimeout;
  int cacheMaxAge;

  static final NetworkConfig _netConfig = NetworkConfig._internal();

  NetworkConfig._internal() {
    contentType = 'application/json';
    connectTimeout = 5000;
    receiveTimeout = 3000;
    cacheMaxAge = 7;
  }

  static NetworkConfig get instance => _netConfig;
}
